﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using KPIS.GERP.GIMS.DAL;
using KPIS.GERP.GIMS.DALFactory;

namespace KPIS.GERP.GIMS.BLL
{
    public class ProgressPurchaseRequestBLL
    {
        private static readonly ProgressPurchaseRequestDAL dal = DataAccess.CreateProgressPurchaseRequest();

        public ProgressPurchaseRequestBLL()
        {

        }

        public IList<PurchaseRequestRouteInfo> GetPurchaseRequestApprove(int seq)
        {
            return dal.GetPurchaseRequestApprove(seq);
        }

        public IList<PurchaseRequestRouteInfo> GetPurchaseRequestInform(int seq)
        {
            return dal.GetPurchaseRequestInform(seq);
        }

        public IList<PurchaseRequestRouteHistoryInfo> GetPurchaseRequestApproveHistory(int seq)
        {
            return dal.GetPurchaseRequestApproveHistory(seq);
        }

        public IList<PurchaseRequestRouteHistoryInfo> GetPurchaseRequestInformHistory(int seq)
        {
            return dal.GetPurchaseRequestInformHistory(seq);
        }

        public IList<PurchaseRequestInfo> GetPurchaseRequest(int seq)
        {
            return dal.GetPurchaseRequest(seq);
        }

        public IList<PurchaseRequestRouteInfo> GetPurchaseRequestRoute(int seq)
        {
            return dal.GetPurchaseRequestRoute(seq);
        }

        public IList<BidInfo> GetBid(int seq)
        {
            return dal.GetBid(seq);
        }

        public IList<BidRouteInfo> GetBidRoute(int seq)
        {
            return dal.GetBidRoute(seq);
        }

        public IList<PurchaseOrderInfo> GetPurchaseOrder(int seq)
        {
            return dal.GetPurchaseOrder(seq);
        }

        public IList<PurchaseOrderRouteInfo> GetPurchaseOrderRoute(int seq)
        {
            return dal.GetPurchaseOrderRoute(seq);
        }

        public IList<DeliveryNoteInfo> GetDeliveryNote(int seq)
        {
            return dal.GetDeliveryNote(seq);
        }

        public IList<DeliveryNoteRouteInfo> GetDeliveryNoteRoute(int seq)
        {
            return dal.GetDeliveryNoteRoute(seq);
        }
    }
}
